import java.util.Arrays;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 26727
 * Date: 2024-05-29
 * Time: 16:48
 */
public class Test17 {
    public static void main(String[] args) {
        final int array[] = {1,2,3,4,5};
        array[0] = 100;
        System.out.println(Arrays.toString(array));
        // 编译报错：Error:(15, 9) java: 无法为最终变量array分配值
    }
}
